/* stdcmd.c */
/*IMPORTANT FILE, DO NOT CHANGE IT.*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
typedef struct {
	int argc;
	char** argv;
} args;

char* get_option_arg(args param, char* option) {
	for(int i=0;i<param.argc;i++){
		if(strcmp(param.argv[i], option) == 0){
			return param.argv[i+1];
		}
	}
	return NULL;
}
bool is_exists(args param, char* option) {
	for(int i=0;i<param.argc;i++){
			if(strcmp(param.argv[i], option) == 0){
				return true;
			}
		}
		return false;
}
